<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<title>INA Admin V{$INA.version}</title>
<base href="{$INA.admin}" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="{$INA.adminTemplate}general.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="{$INA.adminTemplate}javascript/scripts.js"></script>
<script language="JavaScript" type="text/javascript" src="{$INA.adminTemplate}javascript/cookies.js"></script>
<script language="JavaScript" type="text/javascript" src="{$INA.templates}jscripts/ajaxRequest.js"></script>
<script language="JavaScript" type="text/javascript" src="{$INA.templates}jscripts/fat.js"></script>
<script language="JavaScript" type="text/javascript" src="{$INA.templates}jscripts/prototype.js"></script>
<script language="JavaScript" type="text/javascript" src="{$INA.templates}jscripts/scriptaculous.js"></script>
<script language="JavaScript" type="text/javascript" src="{$INA.templates}jscripts/util.js"></script>
<script language="JavaScript" type="text/javascript" src="{$INA.templates}jscripts/effects.js"></script>
</head>

<body>
{popup_init src="`$INA.templates`jscripts/overlib/overlib.js"}
<div class="shadow">
	<div id="wrap">
		<div id="border1">
			<div id="outb">

                <div class="Container">
                	<div id="Header">
                        <h3>
                            <!-- <a class="" href="{$INA.admin}settings/">Settings</a> | -->
                            <!-- <a class="" href="{$INA.admin}permissions/">Permissions</a> | -->
                            <a class="" href="{$INA.admin}logout/">Logout ({$smarty.session.admin.login})</a>
                        </h3> 
                
                        <h1><a href="{$INA.root}">{$INA.title}</a></h1>
                		<h2>{$INA.subtitle}</h2>
                
                        <!--   TABS   -->
                        <ul id="Tabs"> 
                            {foreach from=$tabs item=tabName key=tabCode}
                                <li><a {if $action == "`$tabCode`.html"}class="current"{/if} href="{$INA.admin}{$tabCode}/">{$tabName}</a></li>
                            {/foreach}
                            
                            <!-- <li style="float: right; margin-right: 20px;"><a href="{$INA.admin}search/">Search</a></li> -->
                        </ul>
                        <!-- END TABS -->
                	</div>
                
                    <div id="ContentFrame">
                        {if $action}
                            {include file=$action}
                        {else}
                            Something Doesn't Work %)
                        {/if}
                        
                        <div class="pulley">&nbsp;</div>
                    </div>
                    
                </div>

            </div>
        </div>
    </div>
</div>
<div class="smallNote">Powered by INA version {$INA.version}</div>
</body>
</html>